package com.genesis.mall.dto;

import com.genesis.mall.entity.OmsCartItem;
import com.genesis.mall.entity.OmsOrderItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartPromotionItemDto extends OmsCartItem {
    private static final long serialVersionUID = -8240334728085314815L;
    //商品增加的成长值
    private Integer growth;
    //购买商品赠送积分
    private Integer integration;
    //促销活动信息
    private String promotionMessage;
    //剩余库存-锁定库存
    private Integer realStock;
    //促销活动减去的金额，针对每个商品
    private BigDecimal reduceAmount;
}
